try{
	Type.registerNamespace('UpToRackVO');
	//上架————货位调整单
	UpToRackVO = function(){};
	UpToRackVO.prototype = new NCMMPubUtil.SuperVO();
	//主键
	UpToRackVO.PK_SCAN={
		name:"pk_scan", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//表头部分
	//仓库
	UpToRackVO.CWAREHOUSEID={
		name:"cwarehouseid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//仓库名称
	UpToRackVO.CWAREHOUSEID_NAME={
		name:"cwarehouseid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//库存组织
	UpToRackVO.PK_ORG={
		name:"pk_org", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	//表体部分
	//行号
	UpToRackVO.CROWNO={
		name:"crowno", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料
	UpToRackVO.PK_MATERIAL={
		name:"pk_material", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料编码
	UpToRackVO.PK_MATERIAL_CODE={
		name:"pk_material_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//物料名称
	UpToRackVO.PK_MATERIAL_NAME={
		name:"pk_material_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//规格
	UpToRackVO.MATERIALSPEC={
		name:"materialspec", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//型号
	UpToRackVO.MATERIALTYPE={
		name:"materialtype", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主数量
	UpToRackVO.NNUM={
		name:"nnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅数量
	UpToRackVO.NASSISTNUM={
		name:"nassistnum", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//换算率
	UpToRackVO.VCHANGERATE={
		name:"vchangerate", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位
	UpToRackVO.CUNITID={
		name:"cunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//主单位名称
	UpToRackVO.CUNITID_NAME={
		name:"cunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位
	UpToRackVO.CASTUNITID={
		name:"castunitid", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//辅单位名称
	UpToRackVO.CASTUNITID_NAME={
		name:"castunitid_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//批次号
	UpToRackVO.VBATCHCODE={
		name:"vbatchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	UpToRackVO.PK_BATCHCODE={
		name:"pk_batchcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//序列号
	UpToRackVO.VSERIALCODE={
		name:"vserialcode", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位
	UpToRackVO.ZCPK_RACK={
		name:"zcpk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位编码
	UpToRackVO.ZCPK_RACK_CODE={
		name:"zcpk_rack_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转出货位名称
	UpToRackVO.ZCPK_RACK_NAME={
		name:"zcpk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位
	UpToRackVO.ZRPK_RACK={
		name:"zrpk_rack", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位编码
	UpToRackVO.ZRPK_CODE={
		name:"zrpk_rack_code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//转入货位名称
	UpToRackVO.ZRPK_RACK_NAME={
		name:"zrpk_rack_name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	UpToRackVO.prototype.getAllAttrs = function(){
		return [UpToRackVO.PK_SCAN,
		UpToRackVO.CWAREHOUSEID,
		UpToRackVO.CWAREHOUSEID_NAME,
		UpToRackVO.PK_ORG,
		UpToRackVO.CROWNO,
		UpToRackVO.PK_MATERIAL,
		UpToRackVO.PK_MATERIAL_CODE,
		UpToRackVO.PK_MATERIAL_NAME,
		UpToRackVO.MATERIALSPEC,
		UpToRackVO.MATERIALTYPE,
		UpToRackVO.NNUM,
		UpToRackVO.NASSISTNUM,
		UpToRackVO.VCHANGERATE,
		UpToRackVO.CUNITID,
		UpToRackVO.CUNITID_NAME,
		UpToRackVO.CASTUNITID,
		UpToRackVO.CASTUNITID_NAME,
		UpToRackVO.VBATCHCODE,
		UpToRackVO.PK_BATCHCODE,
		UpToRackVO.VSERIALCODE,
		UpToRackVO.ZCPK_RACK,
		UpToRackVO.ZCPK_RACK_CODE,
		UpToRackVO.ZCPK_RACK_NAME,
		UpToRackVO.ZRPK_RACK,
		UpToRackVO.ZRPK_CODE,
		UpToRackVO.ZRPK_RACK_NAME
    ]};
    
    UpToRackVO.prototype.getTableName = function(){
		return "ic_uptorack";
	};
	UpToRackVO.prototype.getPrimaryAttr = function(){
		return UpToRackVO.PK_SCAN;
	};
	
}catch(e){$e(e);}